package com.xxzuibang.day3;

public class Test {
    public static void main(String[] args) {
        Test1();
    }

    private static void Test1() {
        int a = 3, b = 4, c = 5;
//        int d = a > b ? a : b;
//        int e = d > c ? d : c;
        int max = (a > b ? a : b) > c ? (a > b ? a : b) : c;
        System.out.println(max);
    }
}
